/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package smarag;

/**
 *
 * @author northpole
 */
public interface UserDAOinterface {

 

   public void insert(User user);
//    throws CustomerDAOException;

   public void update(User id/*, User id*/);
  // throws CustomerDAOException;

  public void delete(User user/*, User ,id*/);
  //  throws CustomerDAOException;

   public User[] findAll();
   // throws CustomerDAOException;

   public User findByPrimaryKey(String id);
  // throws CustomerDAOException;

  public User[] findByUsername(String username);
   // throws CustomerDAOException;
}

